Package com.cisco.pt.ipc.sim.impl
Class PolicyMapManagerImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.PolicyMapManagerImpl
- All Implemented Interfaces:
IPCObject,PolicyMapManager
Information provided by the PKI file:
\class PolicyMapManager
\brief PolicyMapManager holds and manages policy maps.
\example network().getDevice("Router0").getPolicyMapManager()
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionPolicyMapManagerImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptiongetPolicyMap(String name) Information provided by the PKI file:getPolicyMapAt(int index) Information provided by the PKI file:intInformation provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession
-
Constructor Details
-
PolicyMapManagerImpl
public PolicyMapManagerImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
getPolicyMapCount
public int getPolicyMapCount()Information provided by the PKI file:
\brief Returns the number of policy maps. \return int, the number of policy maps.- Specified by:
getPolicyMapCountin interfacePolicyMapManager- Returns:
- int Returns a int
-
getPolicyMapAt
Information provided by the PKI file:
\brief Returns the policy map at the specified index. \param index, the index of the policy map of interest. \return PolicyMap, the PolicyMap object at the specified index.- Specified by:
getPolicyMapAtin interfacePolicyMapManager- Parameters:
index- Takes in a parameter of index- Returns:
- PolicyMap Returns a PolicyMap
-
getPolicyMap
Information provided by the PKI file:
\brief Returns the policy map with the specified name. \param name, the name of the policy map of interest. \return PolicyMap, the PolicyMap object with the specified name.- Specified by:
getPolicyMapin interfacePolicyMapManager- Parameters:
name- Takes in a parameter of name- Returns:
- PolicyMap Returns a PolicyMap
-